package com.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.client.pojo.FlowerGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 晚云
 * @since 2023-09-12
 */
@Mapper
public interface FlowerGoodsMapper extends BaseMapper<FlowerGoods> {

    List<FlowerGoods> page_List(@Param("list") List<String> list);

    List<FlowerGoods> search_like(@Param("search") String search);

    FlowerGoods queryOne(@Param("goodsId") String goodId);

    boolean updateCount(@Param("goodsId") String goodsId,@Param("count") int count);

}
